package VN.EDU.IMIC.DEVELOPER.TRINHCAOSANG.Exam01.Bai1;

/**
 * Created by Sang on 07/03/2016.
 */
public class BannguyenController {

    private BannguyetEntity bannguyetEntity = new BannguyetEntity();

    public BannguyenController(BannguyetEntity bannguyetEntity) {
        this.bannguyetEntity = new BannguyetEntity();
    }

    public  double BNArea(BannguyetEntity bannguyetEntity){
        return bannguyetEntity.getArea(bannguyetEntity);

    }
    public  double BNPerimeter(BannguyetEntity bannguyetEntity){
        return bannguyetEntity.getPerimeter(bannguyetEntity);

    }

}
